package com.yicong.ants.bean;

import java.util.List;

/**
 * 订单详情数据 Bean
 */
public class OrderDetailsBean {

    /**
     * code : 2000
     * msg : 获取订单详情成功
     * time : 1548666187
     * data : {"packageid":3,"price":"0.01","ordersn":"2019012308142919849","order_num":1,"user_id":19,"addtime":"2019-01-23 08:14:29","paytime":"2019-01-23 08:14:35","deliver_time":null,"receiving_time":"0","username":"111","mobile":"111","address":"1111111","express_sn":"71217506701286","remake":null,"total_amount":"0.01","name":"黄金版","image":"http://app.yytxlyw.com/uploads/20181029/guodai.png","ptype":"4","describe":"用于购买黄金版","address_status":"1","need_score":0,"score_apply":"0","detail":"蚁丛发行的\"脚尖上的中国\"[全国旅游卡]黄金版,从升级即日起有效期一年,此旅游卡除了享受黄金版全部景区免票","express_detail":[{"time":"2018-11-19 19:18:31","ftime":"2018-11-19 19:18:31","context":"[深圳市]已签收，签收人凭取货码签收。","location":"深圳市"},{"time":"2018-11-18 10:20:45","ftime":"2018-11-18 10:20:45","context":"[深圳市]深圳市【深圳龙华大浪分部】，深圳大浪龙翔花园77栋店 已签收","location":"深圳市"},{"time":"2018-11-18 10:20:45","ftime":"2018-11-18 10:20:45","context":"[深圳市]快件已由深圳大浪龙翔花园77栋店菜鸟驿站代收，请及时取件，如有疑问请联系13360067137","location":"深圳市"},{"time":"2018-11-18 03:53:16","ftime":"2018-11-18 03:53:16","context":"[深圳市]深圳市【深圳龙华大浪分部】，【彭朝开/13823739070】正在派件","location":"深圳市"},{"time":"2018-11-17 16:26:12","ftime":"2018-11-17 16:26:12","context":"[深圳市]深圳市【深圳转运中心】，正发往【深圳龙华大浪分部】","location":"深圳市"},{"time":"2018-11-14 05:14:21","ftime":"2018-11-14 05:14:21","context":"[泉州市]到泉州市【泉州转运中心】","location":"泉州市"},{"time":"2018-11-13 16:58:02","ftime":"2018-11-13 16:58:02","context":"[泉州市]泉州市【泉州东海二部】，【施彬彬/18150509923】已揽收","location":"泉州市"}]}
     */

    private String code;
    private String msg;
    private String time;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * packageid : 3
         * price : 0.01
         * ordersn : 2019012308142919849
         * order_num : 1
         * user_id : 19
         * addtime : 2019-01-23 08:14:29
         * paytime : 2019-01-23 08:14:35
         * deliver_time : null
         * receiving_time : 0
         * username : 111
         * mobile : 111
         * address : 1111111
         * express_sn : 71217506701286
         * remake : null
         * total_amount : 0.01
         * name : 黄金版
         * image : http://app.yytxlyw.com/uploads/20181029/guodai.png
         * ptype : 4
         * describe : 用于购买黄金版
         * address_status : 1
         * need_score : 0
         * score_apply : 0
         * detail : 蚁丛发行的"脚尖上的中国"[全国旅游卡]黄金版,从升级即日起有效期一年,此旅游卡除了享受黄金版全部景区免票
         * express_detail : [{"time":"2018-11-19 19:18:31","ftime":"2018-11-19 19:18:31","context":"[深圳市]已签收，签收人凭取货码签收。","location":"深圳市"},{"time":"2018-11-18 10:20:45","ftime":"2018-11-18 10:20:45","context":"[深圳市]深圳市【深圳龙华大浪分部】，深圳大浪龙翔花园77栋店 已签收","location":"深圳市"},{"time":"2018-11-18 10:20:45","ftime":"2018-11-18 10:20:45","context":"[深圳市]快件已由深圳大浪龙翔花园77栋店菜鸟驿站代收，请及时取件，如有疑问请联系13360067137","location":"深圳市"},{"time":"2018-11-18 03:53:16","ftime":"2018-11-18 03:53:16","context":"[深圳市]深圳市【深圳龙华大浪分部】，【彭朝开/13823739070】正在派件","location":"深圳市"},{"time":"2018-11-17 16:26:12","ftime":"2018-11-17 16:26:12","context":"[深圳市]深圳市【深圳转运中心】，正发往【深圳龙华大浪分部】","location":"深圳市"},{"time":"2018-11-14 05:14:21","ftime":"2018-11-14 05:14:21","context":"[泉州市]到泉州市【泉州转运中心】","location":"泉州市"},{"time":"2018-11-13 16:58:02","ftime":"2018-11-13 16:58:02","context":"[泉州市]泉州市【泉州东海二部】，【施彬彬/18150509923】已揽收","location":"泉州市"}]
         */

        private int packageid;
        private float price;
        private String ordersn;
        private int order_num;
        private String paystatus;
        private String status;
        private String order_status;
        private int user_id;
        private String addtime;
        private String paytime;
        private Object deliver_time;
        private String receiving_time;
        private String username;
        private String mobile;
        private String address;
        private String express_sn;
        private Object remake;
        private String total_amount;
        private String name;
        private String image;
        private String ptype;
        private String describe;
        private String address_status;
        private int need_score;
        private String score_apply;
        private String score_deduction;
        private String detail;
        private List<ExpressDetailBean> express_detail;

        public String getScore_deduction() {
            return score_deduction;
        }

        public void setScore_deduction(String score_deduction) {
            this.score_deduction = score_deduction;
        }

        public String getPaystatus() {
            return paystatus;
        }

        public void setPaystatus(String paystatus) {
            this.paystatus = paystatus;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getOrder_status() {
            return order_status;
        }

        public void setOrder_status(String order_status) {
            this.order_status = order_status;
        }

        public int getPackageid() {
            return packageid;
        }

        public void setPackageid(int packageid) {
            this.packageid = packageid;
        }

        public float getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public String getOrdersn() {
            return ordersn;
        }

        public void setOrdersn(String ordersn) {
            this.ordersn = ordersn;
        }

        public int getOrder_num() {
            return order_num;
        }

        public void setOrder_num(int order_num) {
            this.order_num = order_num;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getPaytime() {
            return paytime;
        }

        public void setPaytime(String paytime) {
            this.paytime = paytime;
        }

        public Object getDeliver_time() {
            return deliver_time;
        }

        public void setDeliver_time(Object deliver_time) {
            this.deliver_time = deliver_time;
        }

        public String getReceiving_time() {
            return receiving_time;
        }

        public void setReceiving_time(String receiving_time) {
            this.receiving_time = receiving_time;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getExpress_sn() {
            return express_sn;
        }

        public void setExpress_sn(String express_sn) {
            this.express_sn = express_sn;
        }

        public Object getRemake() {
            return remake;
        }

        public void setRemake(Object remake) {
            this.remake = remake;
        }

        public String getTotal_amount() {
            return total_amount;
        }

        public void setTotal_amount(String total_amount) {
            this.total_amount = total_amount;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getPtype() {
            return ptype;
        }

        public void setPtype(String ptype) {
            this.ptype = ptype;
        }

        public String getDescribe() {
            return describe;
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }

        public String getAddress_status() {
            return address_status;
        }

        public void setAddress_status(String address_status) {
            this.address_status = address_status;
        }

        public int getNeed_score() {
            return need_score;
        }

        public void setNeed_score(int need_score) {
            this.need_score = need_score;
        }

        public String getScore_apply() {
            return score_apply;
        }

        public void setScore_apply(String score_apply) {
            this.score_apply = score_apply;
        }

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public List<ExpressDetailBean> getExpress_detail() {
            return express_detail;
        }

        public void setExpress_detail(List<ExpressDetailBean> express_detail) {
            this.express_detail = express_detail;
        }

        public static class ExpressDetailBean {
            /**
             * time : 2018-11-19 19:18:31
             * ftime : 2018-11-19 19:18:31
             * context : [深圳市]已签收，签收人凭取货码签收。
             * location : 深圳市
             */

            private String time;
            private String ftime;
            private String context;
            private String location;

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getFtime() {
                return ftime;
            }

            public void setFtime(String ftime) {
                this.ftime = ftime;
            }

            public String getContext() {
                return context;
            }

            public void setContext(String context) {
                this.context = context;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }
        }
    }
}
